package com.qiyuexinxi.chat.service;

import com.alibaba.fastjson.JSONObject;
import com.qiyuexinxi.chat.dto.request.AddThumbInfoRequest;
import com.qiyuexinxi.chat.dto.request.ThumbInfoListRequest;
import com.qiyuexinxi.chat.dto.response.GetUserInfoResponse;
import com.qiyuexinxi.chat.dto.response.ThumbInfoListResponse;

import java.util.List;

/**
 * @author yangxingyu
 * @date 2020/3/24
 * @description
 */
public interface ThumbInfoService {

    boolean addThumbInfo(AddThumbInfoRequest addThumbInfoRequest);

    boolean deletedThumbInfo(AddThumbInfoRequest addThumbInfoRequest);

    List<GetUserInfoResponse> getThumbInfoList(ThumbInfoListRequest thumbInfoListRequest);

    Integer getThumbInfoCount(ThumbInfoListRequest thumbInfoListRequest);

    JSONObject getThumbInfo(Integer thumbAssociationId,Integer thumbAssociationType,Integer userId);

}
